.layout {
  width: 34px;
  height: 28px;
  box-sizing: border-box;
  border-radius: 12px;
  border: 0.75px solid #C6C6C6;
  display: flex;
  flex-direction: row;
  align-items: center;
  overflow-x: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
}

.icon {
  &-wrapper {
    margin-left: 9px;
    width: 16px;
    height: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}

.tag {
  height: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 6px;
  margin-right: 9px;
  white-space: nowrap;
  @include text-regular;
  font-size: 12px;
  color: $color-black;
  user-select: none;
}




.chat-input-action {
  display: inline-flex;
  gap: 6px;
  border-radius: 20px;
  font-size: 12px;
  background: $color-white;
  color: $color-black;
  border: var(--border-in-light);
  padding: 4px 10px;
  animation: slide-in ease 0.3s;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.05);
  transition: width ease 0.3s;
  align-items: center;
  height: 16px;
  width: var(--icon-width);
  overflow: hidden;


  .text {
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-5px);
    transition: all ease 0.3s;
    pointer-events: none;
  }

  &:hover {
    --delay: 0.1s;
    width: var(--full-width);
    transition-delay: var(--delay);

    .text {
      transition-delay: var(--delay);
      opacity: 1;
      transform: translate(0);
    }
  }

  .text,
  .icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
